package com.smartfactory.sail.vo.item;

import com.smartfactory.sail.dto.InspectioncriteriaDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author 王巨壁
 * @title: AddProjectReq
 * @projectName smart-sail
 * @description: 原料新增请求对象
 * @date 2019/7/25 16:49
 */
@Data
public class AddMaterialReq {

    @ApiModelProperty(value = "原料料号")
    @NotBlank
    private String code;

    @ApiModelProperty(value = "原料名称")
    @NotBlank
    private String name;


    @ApiModelProperty(value = "原料材质")
    @NotBlank
    private String texture;

    @ApiModelProperty(value = "多个生产图纸id用符号|隔开")
    private String productDrawings;

    @ApiModelProperty(value = "供应商名称多个用|隔开")
    private String suppliers;

    @ApiModelProperty(value = "产品检验标准")
    private List<InspectioncriteriaDto> inspectioncriteriaList;

}
